This makes it easier to run with jhbuild.
https://bugzilla.gnome.org/show_bug.cgi?id=687556
},
enable: function() {
- this._native.register();
+ try {
+ this._native.register();
+ } catch(e) {
+ log('Failed to register AuthenticationAgent');
+ }
},
disable: function() {
- this._native.unregister();
+ try {
+ this._native.unregister();
+ } catch(e) {
+ log('Failed to unregister AuthenticationAgent');
+ }
},
_onInitiate: function(nativeAgent, actionId, message, iconName, cookie, userNames) {